Center the map on your home and when you leave, your lights will slowly go off. Must have the IFTTT app installed.
This Trigger fires every time you exit an area you specify.
This Action will turn your lights off.